/* 
 * File:   BoostHashTableAdapter.h
 * Author: Christopher
 *
 * Created on November 9, 2012, 8:46 PM
 */

#ifndef HASHTABLEADAPTER_H
#define	HASHTABLEADAPTER_H

#include "TreeInterface.h"
#include "Term.h"
#include <iostream>
#include <string>
#include <unordered_map>
#include<cstdlib>

using namespace std;

class HashTableAdapter : public TreeInterface {
public:
    HashTableAdapter();
    void insert(Term*);
    Term* search(string word);
    void outputFile(ofstream&);
private:
    std::unordered_map <string, Term*> table;
};

#endif	/* HASHTABLEADAPTER_H */

